interface Pople{
  name:string
  age:number
}

interface Mapp{
  sex:string
}
// 整合两个接口
const my=(my:Pople&Mapp):void=>{
  console.log(my)
}

my({
  name:'zp',
  age:18,
  sex:'男'
})